/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package pe.edu.uch.syscom.hibernateSpringDao;

import java.util.List;
import pe.edu.uch.syscom.mapping.TbCliente;

/**
 *
 * @author Jose Tejada
 */
public interface HSClienteDAO {

    public TbCliente findPorId( int iIdCliente );

    public List<TbCliente> loadListaClientes( String sBusqueda );

    public TbCliente getClientePorEmail( String sEmail );

    public TbCliente getClientePorDni( String sDni );

    public TbCliente getClientePorCampo( String sCampo, String sValor );

    public void guardarCliente( TbCliente tbCliente );

    public void actualizarCliente( TbCliente tbCliente );

    public List<TbCliente> buscarClientePorDNI( String sDatoBusq );
}
